<h2>Posts in <%= @category.title %></h2>
<div id="bookings">
<ul>
<% @category.posts.each do |post| %>
    <li><%= link_to(post.title, post_path(post)) %></li>
<% end %>
</ul>
</div><!-- end of bookings -->